<script setup>
import uniPopup from '@dcloudio/uni-ui/lib/uni-popup/uni-popup.vue'
import { ref } from 'vue'

const popupRef = ref(null)
defineExpose({
    open: () => popupRef.value.open(),
    close: () => popupRef.value.close(),
})
</script>

<template>
    <uni-popup ref="popupRef">
        <view
            class="bg-white p-6 rounded-3xl text-base text-zinc-950 w-[85vw] md:w-[60vw] lg:w-[45vw]"
        >
            <slot />
        </view>
    </uni-popup>
</template>
